function getCategory()
{
	$.ajax(
	{
		url:"/appweb/admin/product/getcategory",
		type:"POST",
		data :{
			select : $('select#upload-video-category option:selected').val()
		},
		async:true,
		dataType:'json',
		success: function(data)
		{
			//var getarr = $.parseJSON(data);
			var htm ='';
			$.each(data,function(index,arrays)
					{
						 htm += '<option value="'+arrays.name_product+'">'+arrays.name_product+'</option>';
						
					});
			$('#upload-video-product').html(htm);
			//alert(data);
		}
	}		
	);
}